# 获取有关 PowerShell 控制台主机的信息
# Get-Host

# 调整 PowerShell 窗口的大小
# $H = Get-Host
# $Win = $H.UI.RawUI.WindowSize
# $Win.Height = 10
# $Win.Width = 10
# $H.UI.RawUI.Set_WindowSize($Win)

# 获取主机的PowerShell版本
(Get-Host).Version | Format-List -Property *
